home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGAnimatedEnum.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  110 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGAnimatedEnum.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGAnimatedEnum_h__
  6. #define __gen_nsIDOMSVGAnimatedEnum_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMSVGAnimatedEnumeration */
  19. #define NS_IDOMSVGANIMATEDENUMERATION_IID_STR "73b101bd-797b-470f-9308-c24c64278bcd"
  20.  
  21. #define NS_IDOMSVGANIMATEDENUMERATION_IID \
  22.   {0x73b101bd, 0x797b, 0x470f, \
  23.     { 0x93, 0x08, 0xc2, 0x4c, 0x64, 0x27, 0x8b, 0xcd }}
  24.  
  25. class NS_NO_VTABLE nsIDOMSVGAnimatedEnumeration : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGANIMATEDENUMERATION_IID)
  29.  
  30.   /* attribute unsigned short baseVal; */
  31.   NS_IMETHOD GetBaseVal(PRUint16 *aBaseVal) = 0;
  32.   NS_IMETHOD SetBaseVal(PRUint16 aBaseVal) = 0;
  33.  
  34.   /* readonly attribute unsigned short animVal; */
  35.   NS_IMETHOD GetAnimVal(PRUint16 *aAnimVal) = 0;
  36.  
  37. };
  38.  
  39. /* Use this macro when declaring classes that implement this interface. */
  40. #define NS_DECL_NSIDOMSVGANIMATEDENUMERATION \
  41.   NS_IMETHOD GetBaseVal(PRUint16 *aBaseVal); \
  42.   NS_IMETHOD SetBaseVal(PRUint16 aBaseVal); \
  43.   NS_IMETHOD GetAnimVal(PRUint16 *aAnimVal); 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  46. #define NS_FORWARD_NSIDOMSVGANIMATEDENUMERATION(_to) \
  47.   NS_IMETHOD GetBaseVal(PRUint16 *aBaseVal) { return _to GetBaseVal(aBaseVal); } \
  48.   NS_IMETHOD SetBaseVal(PRUint16 aBaseVal) { return _to SetBaseVal(aBaseVal); } \
  49.   NS_IMETHOD GetAnimVal(PRUint16 *aAnimVal) { return _to GetAnimVal(aAnimVal); } 
  50.  
  51. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  52. #define NS_FORWARD_SAFE_NSIDOMSVGANIMATEDENUMERATION(_to) \
  53.   NS_IMETHOD GetBaseVal(PRUint16 *aBaseVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseVal(aBaseVal); } \
  54.   NS_IMETHOD SetBaseVal(PRUint16 aBaseVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBaseVal(aBaseVal); } \
  55.   NS_IMETHOD GetAnimVal(PRUint16 *aAnimVal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnimVal(aAnimVal); } 
  56.  
  57. #if 0
  58. /* Use the code below as a template for the implementation class for this interface. */
  59.  
  60. /* Header file */
  61. class nsDOMSVGAnimatedEnumeration : public nsIDOMSVGAnimatedEnumeration
  62. {
  63. public:
  64.   NS_DECL_ISUPPORTS
  65.   NS_DECL_NSIDOMSVGANIMATEDENUMERATION
  66.  
  67.   nsDOMSVGAnimatedEnumeration();
  68.  
  69. private:
  70.   ~nsDOMSVGAnimatedEnumeration();
  71.  
  72. protected:
  73.   /* additional members */
  74. };
  75.  
  76. /* Implementation file */
  77. NS_IMPL_ISUPPORTS1(nsDOMSVGAnimatedEnumeration, nsIDOMSVGAnimatedEnumeration)
  78.  
  79. nsDOMSVGAnimatedEnumeration::nsDOMSVGAnimatedEnumeration()
  80. {
  81.   /* member initializers and constructor code */
  82. }
  83.  
  84. nsDOMSVGAnimatedEnumeration::~nsDOMSVGAnimatedEnumeration()
  85. {
  86.   /* destructor code */
  87. }
  88.  
  89. /* attribute unsigned short baseVal; */
  90. NS_IMETHODIMP nsDOMSVGAnimatedEnumeration::GetBaseVal(PRUint16 *aBaseVal)
  91. {
  92.     return NS_ERROR_NOT_IMPLEMENTED;
  93. }
  94. NS_IMETHODIMP nsDOMSVGAnimatedEnumeration::SetBaseVal(PRUint16 aBaseVal)
  95. {
  96.     return NS_ERROR_NOT_IMPLEMENTED;
  97. }
  98.  
  99. /* readonly attribute unsigned short animVal; */
  100. NS_IMETHODIMP nsDOMSVGAnimatedEnumeration::GetAnimVal(PRUint16 *aAnimVal)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104.  
  105. /* End of implementation class template. */
  106. #endif
  107.  
  108.  
  109. #endif /* __gen_nsIDOMSVGAnimatedEnum_h__ */
  110.